package com.zuipin.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zuipin.entity.product.EvaluationImg;
import com.zuipin.mapper.EvaluationImgMapper;
import com.zuipin.service.IEvaluationImgService;

/**
 * 评价信息图片业务类实现
 *
 * @ClassName EvaluationImgServiceImpl 
 * @author wangcongyi
 * @date 2017年7月6日 下午8:07:36
 */
@Service
public class EvaluationImgServiceImpl implements IEvaluationImgService {
	
	@Resource
	private EvaluationImgMapper evaluationImgMapper;
	
	@Override
	public List<EvaluationImg> getEvaluationImgs(List<Long> ids) {
		// TODO Auto-generated method stub
		return evaluationImgMapper.getEvaluationImgs(ids);
	}
	
	@Override
	public int insertBatch(List<EvaluationImg> evaluationImgs) {
		// TODO Auto-generated method stub
		return evaluationImgMapper.insertBatch(evaluationImgs);
	}
	
	@Override
	public int findslideShow(Long proExtId) {
		// TODO Auto-generated method stub
		return evaluationImgMapper.findslideShow(proExtId);
	}
	
	@Override
	public int insert(EvaluationImg record) {
		// TODO Auto-generated method stub
		return evaluationImgMapper.insert(record);
	}
	
	@Override
	public int insertSelective(EvaluationImg record) {
		// TODO Auto-generated method stub
		return evaluationImgMapper.insertSelective(record);
	}
	
}
